package cn.yaboya.basic.constant;

/** 
* @Title: 公共常量类
* @Description:
* @Author: LT
* @Version: 1.0
* @Date:  2022/7/4 20:42  
* @Parameters: 
* @Return 
*/
public class BaseConstants {
    /** 
    * @Title: 网信通常量内部类
    * @Description: TODO
    * @Author: LT
    * @Version: 1.0
    * @Date:  2022/7/4 20:42  
    * @Parameters: 
    * @Return 
    */
    public class SmsConstant {
        public static final String UID = "liu928114188";

        public static final String KEY = "D5CB508908D9B41C7C1A4A434FCA15BF";
    }

    public class VerifyCodeConstant{
        // 定义一个业务键 防止业务参数冲突 这个用于手机验证码 注册时使用
        public final static String BUSINESS_REGISTER_PREFIX = "register:";
        // 定义一个业务键 防止业务参数冲突 这个用于手机验证码 登录时使用
        public final static String BUSINESS_BINDER_KEY = "binder:";
    }

    public class WechatConstant {
        // 微信开发平台提供的appId的值
        public static final String APPID = "wxd853562a0548a7d0";
        // 微信开发平台提供的secret的值
        public static final String SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";

        // 微信开发平台提供的获取access_token的请求地址 需要时替换
        public static final String TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";

        public static final String ACCESS_TOKEN = "";
        // 微信开发平台提供的secret的值
        public static final String OPENID = "";

        public static final String WXUSER_URL = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID";



    }
}
